
var mongoose = require("mongoose");

// 连接字符串格式为mongodb://主机/数据库名
mongoose.connect('mongodb://localhost/test');

var Schema = mongoose.Schema;
// 骨架模版
var movieSchema = new Schema({
      Chinese:String,
      english:String
},{collection:"col"})
// 模型
var Sick = mongoose.model('col', movieSchema);

// var MyStudent = mongoose.model("vip");

Sick.find({}, function(err, docs) {
  // console.log(docs);
});
module.exports=Sick;
